package com.rentcars.mapper;

import com.rentcars.entity.Clientuser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface ClientuserMapper {

    /**
     * 查询所有客户信息
     * @return
     */

    List<Clientuser> getListClientuser(Clientuser clientuser);

    /**
     * 添加客户信息
     * @param clientuser
     * @return
     */
    Integer insertSelective(Clientuser clientuser);

    /**
     *根据ID查询客户信息
     * @param uid
     * @return
     */

    Clientuser selectClientUserById(String uid);

    /**
     * 修改客户信息
     * @param clientuser
     * @return
     */
    int updateClientUser(Clientuser clientuser);

    /**
     * 根据ID删除客户信息
     * @param uid
     * @return
     */
    int deleteByPrimaryKey(String uid);

    /**
     * 批量删除
     * @param uidList
     * @return
     */

    int delClientUser(List<String> uidList);
}